package com.surprise.base.bo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Page.java
 * @author nick
 * 2015年2月10日
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class Page {
    private int start = 1;
    private int num = 20;
    private int totalCount = 0;
    private long timestamp;

    public Page(Page p) {
        this.start = p.start;
        this.num = p.num;
        this.totalCount = p.totalCount;
        this.timestamp = timestamp;
    }
}
